<!DOCTYPE HTML>
<html>
<head>
<title><{t}>用户登录<{/t}></title>
<{lang_script src="lang.js" app="site"}>
<{css src="framework.css" app="site" pdir="css_mini"}>
<{css src="css.css" app="b2c" pdir="css"}>
<{css src="mall.css" app="b2c" pdir="css"}>
<{css src="b2c.css" app="b2c" pdir="css_mini"}>
<{css src="passport.css" app="b2c" pdir="css_mini"}>
<{if defined("DEBUG_JS") && DEBUG_JS}>
  <{script src="mootools.js" app="site"}>
  <{script src="formplus.js" app="site"}>
  <{script src="jstools.js" app="site"}>
  <{script src="shoptools.js" app="b2c"}>
<{else}>
  <{script src="moo_min.js" app="site" pdir="js_mini"}>
  <{script src="tools_min.js" app="site" pdir="js_mini"}>
  <{script src="shoptools_min.js" app="b2c" pdir="js_mini"}>
<{/if}>
<{lang_script src="lang.js" app="b2c"}>
<{lang_css src="lang.css" app="b2c"}>
</head>
<body class="mini-passport pop_login" style="margin:0;border:0;font-family: Tahoma, Arial, Helvetica,"微软雅黑";font-size: 12px;color: #666666;">
  <div class="loginbox_left" style="margin:0;">
    <div class="gray" style="color:gray;line-height:20px;padding:0px 10px;">如果您已是本站会员，请登录</div>
    <{foreach from=$passports item=item}>
    <{$item.html}>
    <{/foreach}>
  </div>

  
  <script>
  var Shop = <{$shopDefine}>;
  $('loginBar').getElement('.login_button').store('_ajax_config', {
    onComplete:function(rs){
      if (!rs) return;
        rs=JSON.decode(rs[0]);
        if(rs.msg) return top.Message.error(rs.msg);
        else {top.Message.success('登录成功');top.location.href=rs.url;}
    }
  });
  </script>
</body>
</html>
